package com.example.printservice.result;

public enum ResultEnum {
    SUCCESS(200, "成功"),
    REQUEST_ERROR(400, "请求错误"),
    SYSTEM_ERROR(500, "系统错误"),
    Forbidden_ERROR(403, "权限不足"),
    UNKNOWN_ERROR(501, "未知错误");
    private Integer code;
    private String msg;

    ResultEnum(Integer code , String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
